package com.fansm.framework.beans.factory.config;

import com.fansm.framework.beans.MutablePropertyValues;

/**
 * 对应xml中的一个bean标签配置
 *
 * <bean id="CourseService" class="com.fansm.service.impl.CourseServiceImpl">
 *      <property name="courseDao" ref="courseDao" />
 * </bean>
 * @author fansm
 * @date 2024/4/15
 */
public class BeanDefinition {
    private String id;
    private String className;

    /**
     * 属性列表
     */
    private MutablePropertyValues propertyValue;

    public BeanDefinition() {
        propertyValue = new MutablePropertyValues();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public MutablePropertyValues getPropertyValue() {
        return propertyValue;
    }

    public void setPropertyValues(MutablePropertyValues propertyValue) {
        this.propertyValue = propertyValue;
    }
}
